package cn.stylefeng.guns.sys.modular.tao.service;

import cn.stylefeng.guns.sys.modular.tao.entity.Member;
import cn.stylefeng.roses.core.reqres.response.ResponseData;

import java.util.Map;

public interface MemberService {
    ResponseData getMember(Map<String, Object> map);

    ResponseData editMember(Map<String, Object> map);

    ResponseData addMember(Map<String, Object> map);

    ResponseData deleteMemberInfo(Map<String, Object> map);

    Member getMemberById(String userId);

    int add(Member member);

    int update(Member promoter);

    ResponseData BecomeMember(String userId, Integer memberSpecsId, String openId);
}
